<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<ul id="menu" class="list-group">
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#strategy_detail">
			<span>后台用户管理</span>
		</a>
		<ul class="in" id="strategy_detail">
            <li class="product"><a href="/adminUser">后台用户列表</a></li>
            <li class="product"><a href="/adminUser?cmd=register">后台用户注册</a></li>
            <li class="product"><a href="/adminUserLogin.jsp">后台登录界面</a></li>
		</ul>
	</li>
	<li class="list-group-item">
		<a href="#" data-toggle="collapse" data-target="#travel_detail">
			<span>产品管理</span>
		</a>
		<ul class="in" id="travel_detail">
			<li class="product"><a href="/product">产品列表</a></li>
		</ul>
	</li>
    <li class="list-group-item">
        <a href="#" data-toggle="collapse" data-target="#travel_detail">
            <span>员工&部门管理</span>
        </a>
        <ul class="in" id="travel_detail">
            <li class="product"><a href="/employee">员工列表</a></li>
            <li class="product"><a href="/department">部门列表</a></li>
        </ul>
    </li>
</ul>


<script type="text/javascript">
	var url = location.pathname;
	url = url.substring(1);
    var indexE = url.indexOf("/");
    var currentMenu = url.substring(0, indexE);

    //$(".in li."+currentMenu).addClass("active");
</script>
